<div class="betRight">
    <div class="today box">
        <h3>今日开奖</h3>
        <div class="more">
<!--             <a href="javascript:void(0);" class="" target="_blank">走势图</a> -->
            <a href="javascript:void(0);" onclick="newOwindow('index.php?m=index&c=lotteryHall&a=explain&id={$info['id']}');">玩法说明</a>
        </div>
        <div class="ResultsList" id="id_history_open">
            <table id="fn_getoPenGame" class="ty_table_gameBet curr" width="100%" cellspacing="0" cellpadding="0" border="0"></table>
        	
        </div>

    </div>
    <div class="mybet box" id="id_mybet_list">
        <h3 class="">我的投注</h3>
        <h3 class="notSelect" {if $c == 'k3'} style="display:none;"{/if}>我的追号</h3>
        <table class="_mybetContent" width="100%" cellspacing="0" cellpadding="0" border="0">
            <tbody id="id_my_bet_list">
                <tr>
                    <th>期号</th>
                    <th>投注金额</th>
                    <th>奖金</th>
                </tr>
            </tbody>
        </table>

        <table class="_betChaseAnimation dpn" width="100%" cellspacing="0" cellpadding="0" border="0">
        </table>
        <table class="more">
            <tbody>
            <tr>
                <td>
                    <a href="{U('member/BetRecord')}" class="">更多&gt;&gt;</a>
                </td>
            </tr>
            </tbody>
        </table>
    </div>
    <div class="winningList box" style="border:none;">
      	<h3 class="winnerTab" onclick="messBoxController(this, 'lotteryInfo')">中奖信息</h3>
          	<h3 class="winnerTab notSelect" onclick="messBoxController(this, 'moneyList')">昨日盈利榜</h3>
          	<div id="Ranking" class="winnerListSlide" style="width: 100%; box-sizing: content-box;">
                <div  class="messBox" id="lotteryInfo" style="width: 100%;">
                <table width="100%">
                    <tbody>
                    <tr>
                        <th>
                            中奖信息实时更新
                        </th>
                    </tr>
                    </tbody>
                </table>
                <div class="bd">
                    <div class="tempWrap" style="overflow: hidden; height: 510px;">
                        <ul class="winnerList" id="id_all_winner_list" style="cursor: pointer;margin-top:0;"></ul>
                    </div>
                </div>
            </div>
            <div class="messBox" id="moneyList" style="width: 100%; display: none;">
                <table style="position: relative;" width="100%" cellspacing="0" cellpadding="0" border="0">
                    <tbody id="id_upday_win_list"></tbody>
                </table>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
	function newOwindow(url){
		window.open (url,'newwindow','height=960,width=1020,top=0,left=0,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');
    }
    //无缝滚动显示中奖信息
    $(function() {
			var $this = $(".tempWrap");
			var scrollTimer;
			$this.hover(function() {
				clearInterval(scrollTimer);
			}, function() {
				scrollTimer = setInterval(function() {
					scrollNews($this);
				}, 2000);
			}).trigger("mouseout");
		
			function scrollNews(obj) {
				var $self = obj.find("ul:first");
				var lineHeight = $self.find("li:first").outerHeight();
				$self.animate({
					"margin-top": -lineHeight + "px"
				}, 600, function() {
					$self.css({
						"margin-top": "0px"
					}).find("li:first").appendTo($self);
				})
			}
		});
    
    function messBoxController(obj, targe){
    	// 切换选项卡样式
    	$('.winnerTab').addClass('notSelect');
    	obj.className = 'winnerTab';
    	// 更改信息框的展示效果
    	$('.messBox').hide();
    	$('#' + targe).show();
    }
    var betPageCommonUrl = "{U('json/func_member')}";
</script>
<script src="static/js/member/bet_page_common_init.js"></script>